//
//  CameraEffectViewController.h
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 11/23/12.
//  Copyright (c) 2012 UIT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageMainMenuBarView.h"
#import "ImageActionBarView.h"
#import "EAGLCameraView.h"
#import "CropViewController.h"

@interface CameraEffectViewController : UIViewController<ImageMenuBarViewDelegate, ImageActionBarViewDelegate, EAGLCameraViewDelegate, CropViewControllerDelegate>{
    bool isCanWriteComment;
    BOOL isHiddenEffectBar;
    BOOL isCoverImage;
    
    CGPoint                 oldLocation;
    
    bool isEnableEffect;
    UIImage* inputImg;
}

@property(nonatomic) bool isEnableEffect;
@property(nonatomic, retain) UIImage* inputImg;

-(void)addNewActionBarEffect;
-(void)addNewActionBarMenu;
-(void)addNewActionBarMenuNoEffect;
-(void)addNewActionBarCapture;
- (void)handlePanTap:(UIPanGestureRecognizer *)recognizer;
-(void)updateCropRect:(CGRect)rectView;
-(void)saveFile:(NSString*)filePath;
-(void)didFinishRotate:(id)sender;
- (void) didChooseFriendTap;

@end

